<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" isELIgnored="false" %>
<html>
<head>
    <title>我的活动</title>
    <%@ include file="static_res.jsp"%>
    <script>
        $(function () {
            $("#m1").addClass("active");
        });
    </script>
</head>
<body>
<%@ include file="header.jsp"%>
<div class="container">
    <%--3,9布局--%>
    <div class="row">
        <%@include file="userMenu.jsp"%>

        <%--9 start--%>
        <div class="col s8 offset-s1">

            <div class="row"></div>

            <div class = "row bottom0">
                <c:forEach items="${ijoin}" var="act">
                    <div class="card  hoverable z-depth-4">
                        <div class="card-stacked">
                            <div class="card-content">
                                <p class="flow-text">${act.title}</p>
                                创建人:<a href="<%=path%>/user/visitUser?uid=${act.uid}"><span class="bold">${act.createPerson}</span></a> |
                                当前人数:<span id="cur${act.id}" class="bold">${act.currentCount}</span> |
                                最大人数:<span class="bold">${act.maxCount}</span></p>
                                <p>${act.content}</p>
                                剩余<span class="themeColor">${act.leftDay}</span>天截止
                                <input id="hidevalueuid${act.id}" type="hidden" value="${act.uid}"/>
                                <input id="hidevaluetitle${act.id}" type="hidden" value="${act.title}"/>
                            </div>
                        </div>
                    </div>
                </c:forEach>

            </div>



        </div> <%--9 end--%>
    </div><%--3,9 row end--%>
</div>
</body>
</html>
